<?php

    // calling the header.php
    get_header();

    // action hook for placing content above #container
    thematic_abovecontainer();

    $parent = get_the_category();
?>

<?php
  //$post = $wp_query->post;
  if (in_category('blog') || post_is_in_descendant_category(get_term_by('slug','blog','category')) ) {
      include(TEMPLATEPATH.'/single-blog.php');
  } elseif (in_category('galleries') || post_is_in_descendant_category(get_term_by('slug','galleries','category'))) {
      include(TEMPLATEPATH.'/single-galleries.php');
  } else{
      include(TEMPLATEPATH.'/single-information.php');
  }
?>

<?php

    // action hook for placing content below #container
    thematic_belowcontainer();

    // calling footer.php
    get_footer();

?>